package com.bluetooth.phone;


import com.bluetooth.phone.multi.TypeFactory;
import com.bluetooth.phone.multi.Visitable;
import com.bluetooth.phone.optionb.ItemData;
import com.bluetooth.phone.optionb.ItemDrag;

public class DockItem implements Visitable, ItemDrag, ItemData {
    private String str;
    private int bindingPotion;
    private int itemType ;
    //private int itemType = R.layout.item_dock;


    public void setItemType(int itemType) {
        this.itemType = itemType;
    }

    public DockItem(String str, int bindingPotion) {
        this.str = str;
        this.bindingPotion = bindingPotion;
    }

    public String getStr() {
        return str;
    }

    public void setStr(String str) {
        this.str = str;
    }

    public int getBindingPotion() {
        return bindingPotion;
    }

    public void setBindingPotion(int bindingPotion) {
        this.bindingPotion = bindingPotion;
    }

    @Override
    public int type(TypeFactory typeFactory) {
        return typeFactory.type(itemType);
    }

    @Override
    public int getItemType() {
        return itemType;
    }

    @Override
    public void setVisibility(int visibility) {

    }

    @Override
    public int getVisibility() {
        return 0;
    }

    @Override
    public boolean isCanMove() {
        return false;
    }

    @Override
    public boolean isCanChangeRecycler() {
        return false;
    }

    @Override
    public boolean isCanDrag() {
        return false;
    }
}
